package ucm;

import model.User;

/**
 * UCRegisterManager
 *
 * Goal: Register Manager Account
 * Primary Actor: User
 * Precondition: Connected to database. Admin is logged in. Manager doesnt exist on database.
 * Postcondtion: Manager Account Created
 * 
 * @author Tobias Robinson
 */
public class UCRegisterManager {

    public UCRegisterManager() {
        run();
    }

    /**
     * 1. Actor selects add manager.
     * 2. The system requests the actor to enter user info.
     * 4. System verifies user input.
     * 5. System adds user to database.
     * 6. System notifies actor account created.
     */
    public void run() {
        User.loadRegisterUserView("man");
    }
}
